/* $Id: qx-base.css 11 2012-05-07 16:39:18Z zhaofang123 $ */
/* 
 * HTML5 display definitions */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block;
}
audio, canvas, video {
    display: inline-block;
    *display:inline;
    *zoom: 1;
}
audio:not([controls]) {display:none;
    height: 0;
}
[hidden] {
    display: none;
}

/* 
 * Base */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #333;
    background-color: #fff;
}

a {
    color: #0088cc;
    text-decoration: none;
}
a:hover {
    color: #005580;
    text-decoration: underline;
}
a:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
a:hover, a:active {
    outline: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizelegibility;
}
h1 {
    font-size: 30px;
    line-height: 36px;
}
h2 {
    font-size: 24px;
    line-height: 36px;
}
h3 {
    font-size: 18px;
    line-height: 27px;
}
h4, h5, h6 {
    line-height: 18px;
}
h4 {
    font-size: 14px;
}
h5 {
    font-size: 12px;
}
h6 {
    font-size: 11px;
    color: #999999;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    color: #999999;
    font-weight: normal;
}
h1 small, h2 small{
	font-size: 18px;
}
h3 small {
	font-size: 14px;
}
h4 small {
	font-size: 12px;
}

ul, ol {
    padding: 0;
    margin: 0 0 9px 25px;
}
ul ul, ul ol, ol ol, ol ul {
    margin-bottom: 0;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
li {
    line-height: 18px;
}
ul.unstyled, ol.unstyled {
    margin-left: 0;
    list-style: none;
}

hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #ffffff;
}

b, strong {
    font-weight: bold;
}
em {
    font-style: italic;
}
p {
    margin: 0 0 9px;
    font-size: 12px;
    line-height: 18px;
}
sup, sub {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    height: auto;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}
legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 27px;
    font-size: 19.5px;
    line-height: 36px;
    border: 0;
    border-bottom: 1px solid #eee;
}

form {
    margin: 0 0 18px;
}
label, input, button, select, textarea {
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
}
input, button, select, textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}
input, textarea, select{
	border: 1px solid #ccc;
	height: 18px;
	border-radius: 3px;
	padding: 3px;
	background: url(../img/input-bg.png) repeat-x 0 0;
}
input, button { 
	*overflow:visible;
    line-height: normal;
}
textarea {
	height: auto;
    overflow: auto;
    vertical-align: top;
}
select {
	height: 24px;
	line-height: 24px;
}
input[type="checkbox"], input[type="radio"] {
	cursor: pointer;
	height: auto;
	width: auto;
	line-height: normal;
	padding: 0;
	border: 0;
}
input, textarea {
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}
input.mini, textarea.mini, select.mini{
	width:50px;
}
input.small, textarea.small, select.small{
	width:140px;
}
input.large, textarea.large, select.large{
	width:240px;
}

.btn{
	background:url(../img/btn-bg.png) repeat-x 1px -108px;
	border-radius: 4px;
	border: 1px solid #ccc;
	border-color: #ccc #ccc #b3b3b3;
	cursor: pointer;
	display: inline-block;
	line-height: 18px;
	padding: 4px 11px;
	text-align: center;
	vertical-align: middle;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	color: #000;
	text-decoration: none;
	outline: none;
}
.btn:hover{
	background-position: 0 -145px;
	color: #000;
	text-decoration: none;
}
.btn:active{
	background-position: 0 -181px;
}
.btn-primary{
	background-position: 0 0;
	background-color: #0074CC;
	border-color: #0074CC;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	color: #fff;
}
.btn-primary:hover{
	background-position: 0 -37px;
	color: #fff;
}
.btn-primary:active{
	background-position: 0 -73px;
}
.btn-danger{
	background-position: 0 -217px;
	background-color: #DA4F49;
	border-color: #DA4F49;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	color: #fff;
}
.btn-danger:hover{
	background-position: 0 -253px;
	color: #fff;
}
.btn-danger:active{
	background-position: 0 -289px;
}
.btn-large{
	padding: 7px 15px;
	border-radius: 5px;
}

table {
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: transparent;
}
.table {
    width: 100%;
    margin-bottom: 18px;
}
.table th, .table td {
    padding: 8px;
    line-height: 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table th {
    font-weight: bold;
}
.table thead th {
    vertical-align: bottom;
	border-top: 0;
}
.table .nth{
	background-color: #f9f9f9;
}
.table-border{
	border: 1px solid #ddd;
	border-style: solid solid solid none;
	border-collapse: separate;
}
.table-border th, .table-border td {
	border-left: 1px solid #ddd;
}
.table-condens th, .table-condens td{
	padding: 4px 5px;
}

.hide {
    display: none;
}

.hide-text {
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.clearfix { 
	*zoom: 1;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}
/*
.close {
    color: #000;
    float: right;
    font-size: 20px;
    line-height: 18px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
	opacity: 0.2;
}
.close:hover{
	text-decoration: none;
	cursor: pointer;
	opacity: 0.8;
}
*/

/* 
 * Alert */
div.alert {
    position: relative;
    padding: 8px 14px;
    margin: 3px 0;
    line-height: 1.4;
    border-radius: 4px;
    border: 1px solid #ffe222;
    background-color: #fff8cc;
    color: #d72b24;
}

div.alert-warn {
    background-color: #fcf8e3;
    border-color: #fbeed5;
    color: #c09853;
}

div.alert-succ {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}

div.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}

div.alert-close {
    padding-right: 34px;
}

div.alert-close a.close {
    position: absolute;
    right: 12px;
    top: 7px;
    line-height: 14px;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #777;
}

div.alert-close a.close:hover {
    text-decoration: none;
    color: #555;
}